import java.util.Scanner;
public class Guesssz {
    public static void main(String [] args) {
        int answer = (int)(Math.random()*100 + 1);
        System.out.println(answer);
        System.out.println("欢迎来到猜数字！");
        Scanner scan = new Scanner(System.in);
        System.out.println("请猜⼀个1-100之间的整数：");
        int guess = scan.nextInt();
        if (guess > answer) {
            System.out.println("⼤了！");
        }else if(guess < answer){
            System.out.println("⼩了");
        }else{
            System.out.println("恭喜你！猜对拉！");
        }
    }
}